﻿using FlyingHat.Core.Core.CurrentUser;
using Microsoft.Extensions.DependencyInjection;

namespace FlyingHat.Extensions.ServiceExtensions
{
    public static class CurrentUserService
    {
        public static void AddCurrentUserService(this IServiceCollection service)
        {
            service.AddSingleton<ICurrentUser, CurrentUser>();
        }
    }
}
